from flask import Flask, render_template
import Utils

app = Flask(__name__, template_folder="./FrontEnd")


@app.route('/')
def index():
    return render_template('index.html')


@app.route('/hello/')
def hello():
    return 'Hello!'


@app.route('/hello/<name>')
def hello_name(name=None):
    return 'Hello, ' + name + '!'


@app.route('/get/')
def get():
    return Utils.get()


if __name__ == '__main__':
    app.run(host='0.0.0.0', port=7280)
